import React from 'react'
// 28.在列表上方封装搜索组件。
function Sousuo({from,Finish,FinishFailed}) {
  return (
    <div>
         <Form
      form={form}
      layout='inline'
    name="basic"
   
    style={{ maxWidth: 600 }}
    initialValues={{ remember: true }}
    onFinish={Finish}
    onFinishFailed={FinishFailed}
    autoComplete="off"
  >
    <Form.Item
      label="文章"
      name="keyword"
    >
      <Input />
    </Form.Item>

    <Form.Item label={null}>
      <Button type="primary" htmlType="submit">
        搜索
      </Button>
       <Button type="primary" htmlType="submit" onClick={()=>cz()}>
        重置
      </Button>
    </Form.Item>
  </Form>
    </div>
  )
}

export default Sousuo